projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dba0f3
)
(x_free_frame_resources) [USE_X_TOOLKIT]: Set
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 5 Apr 2001 13:08:21 +0000
(13:08 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 5 Apr 2001 13:08:21 +0000
(13:08 +0000)
f->output_data.x->widget to null after destroying it.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f4cce32b5fafd6f4c4f1fd3aca49e0412996fb69..15ba1e9c6dc322194950cc0b465b279398ceac28 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-12821,7
+12821,10
@@
x_free_frame_resources (f)
#ifdef USE_X_TOOLKIT
if (f->output_data.x->widget)
- XtDestroyWidget (f->output_data.x->widget);
+ {
+ XtDestroyWidget (f->output_data.x->widget);
+ f->output_data.x->widget = NULL;
+ }
free_frame_menubar (f);
#endif /* USE_X_TOOLKIT */